var express = require('express');
var router = express.Router();
var user=require("../controllers/control_user");

/* GET users listing. */
router.post('/create',user.user_create);//创建
router.put('/update/:id',user.user_update);//修改数据
router.delete('/removes',user.user_removes);//删除多个
router.delete('/delete/:id',user.user_delete);//删除指定
router.get('/list/:id',user.user_list_id);//获取指定
router.post('/list',user.user_list);//获取所有
router.get('/list_special/:id',user.user_list_special_id);//获取密文指定


router.post('/lm',user.lm);//获取所有--没有页码限制

module.exports = router;
